for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
class InvalidInputException extends Error{
constructor(symbology, input) {
super();
this.name = "InvalidInputException";
this.symbology = symbology;
this.input = input;
this.message = '"' + this.input + '" is not a valid input for ' + this.symbology;
}
class InvalidElementException extends Error{
constructor() {
this.name = "InvalidElementException";
this.message = "Not supported type to render on";
class NoElementException extends Error{
this.name = "NoElementException";
this.message = "No element to render on.";
export {InvalidInputException, InvalidElementException, NoElementException};